package com.qf02;

public class TestBankCard {
    public static void main(String[] args) {
        BankCard card=new BankCard();
        AddMoney add=new AddMoney(card);
        SubMoney sub=new SubMoney(card);
        Thread chenchen=new Thread(add,"晨晨");
        Thread binbin=new Thread(sub,"冰冰");
        chenchen.start();
        binbin.start();
    }
}
